package com.lovo.commom.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@NoArgsConstructor
public class OrderPiCiDto {
    //编号
    private String idNum;
    //供应商名称
    private String vendorName;
    //创建订单时间
    private LocalDate date = LocalDate.now();
    //订单状态 0-未完成
    private int status;
    //订单总供货数量
    private int totalNum;

    public OrderPiCiDto(String idNum, String vendorName, int status, int totalNum) {
        this.idNum = idNum;
        this.vendorName = vendorName;
        this.status = status;
        this.totalNum = totalNum;
    }
}
